home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware Gold / Windows Shareware Gold Volume 3 Number 1 (Sherburne Knowledge Systems) (1991).iso / apps / f1127 / fm.exe / FREEMEM.TXT < prev    next >
Encoding:
Text File  |  1991-07-15  |  9.2 KB  |  194 lines

  1.                     METZ FreeMem version 4.22           July 14, 1991
  2.  
  3.   METZ Software                        Sales & Support (206) 641-4525
  4.   P.O. Box 6042                        Fax             (206) 644-6026
  5.   Bellevue, Wa., 98008-0042, U.S.A.
  6.  
  7.   GEnie: A.METZ    Compuserve: [73567,1637]
  8.  
  9.                              Overview
  10.      METZ FreeMem is a Windows 3.0 utility which will display and
  11. monitor the percentage of free system resources and the amount of
  12. free memory available.  With FreeMem you can monitor your Windows
  13. memory usage and avoid "Out of memory" messages.
  14.  
  15.                                  **
  16.  
  17.                  Memory, Resources, Windows, and You
  18.  
  19.      Memory under Windows is comprised of real and virtual memory.
  20. Real memory is comprised of the base memory up to 640K (655,360 bytes).
  21. Virtual memory is a combination of extended memory and the memory
  22. which is swapped to disk by Windows.  You can increase virtual memory
  23. by increasing the amount of extended memory you have and/or by
  24. increasing the size of your Windows swapfile.  (See your Windows
  25. users guide for more information on the swapfile.)  Since memory
  26. prices have dropped so much recently, it is advisable to install
  27. at least 4K of memory on your system, more is better.  FreeMem
  28. displays the amount of free memory on the right portion of its window.
  29.     Besides memory, applications also use system resources.  Windows
  30. has a limitation on the amount of system resources available, and
  31. this limitation generally causes the "Out of memory" error when several
  32. applications are loaded and the system resource usage limit has been
  33. reached.  Since the amount of memory available for system resources
  34. is limited, you will usually run out of system resources before running
  35. out of memory.  FreeMem displays the percentage of free system resources
  36. on the left portion of its window.  The memory available for system
  37. resources consist of two 64K pools, one for the User Interface, the
  38. other for the Graphics Device Interface, for a total of 128K memory.
  39.     We have a growing concern about the number of Windows applications
  40. which are using extraordinary amounts of resources and memory.  As users
  41. and developers we need to police application resource and memory usage
  42. to prevent further "Out of memory" messages.  Remember when 640K was
  43. supposed to be plenty of memory?  If we're not careful, 4096K won't
  44. be enough before long!
  45.     You can determine application resource and memory usage using
  46. METZ FreeMem as follows:
  47.     1.  Configure FreeMem to Check Memory every 1 second.
  48.     2.  Configure FreeMem to Compact Memory every 1 second.
  49.     3.  Close any unnecessary applications.
  50.     4.  Note the percentage of resources and amount of memory free
  51.         displayed by FreeMem.
  52.     5.  Run the application to be tested.
  53.     6.  Note the change in resources and free memory.
  54.     7.  Close the application.
  55.     8.  Check to see if the resource and free memory amount returned
  56.         to the level of that noted in Step 4.
  57.    Using the above procedure you can determine several things about
  58. the application in question.  First of all, the amounts displayed in
  59. Step 8 should match those of Step 4.  If not, the application is not
  60. cleaning up used memory like it should.  Second, if the application
  61. uses an extraordinary amount of resources and/or memory noted in
  62. Step 6, it better have a good reason!
  63.    We ran a simple test comparing different applications and observed
  64. the following:
  65.  
  66.                              Resources used      Memory used
  67. Program Manager                  15%+               17K
  68. MSDOS Executive                   1%                34K
  69. Microsoft Excel 2.1c              9%                11K
  70. METZ Task Manager                 5%                33K
  71. METZ Desktop Navigator            2%                35K
  72. METZ Desktop Manager              3%                32K
  73.  
  74.    These values will vary from system to system depending on their
  75. configuration, but well behaved applications are essential for optimal
  76. use of your system and software, so don't hesitate to question your
  77. developers about unusual resource and/or memory usage!
  78.    The percentage of system resources free displayed by FreeMem
  79. may vary slightly from that of the Program Manager.  Our calculation
  80. is more precise because it takes into account even the smallest
  81. blocks of free memory available for system resources.
  82.  
  83.    For normal use under Windows, set your FreeMem options as follows:
  84.     1.  Configure FreeMem to Check Memory every 3 to 5 seconds.
  85.     2.  Disable the Compact Memory option.
  86.  
  87.                                  **
  88.  
  89.                        Configuration options
  90.  
  91. Check memory every ## seconds:
  92.    FreeMem will calculate the amount of memory available every ##
  93.    seconds.
  94.  
  95. Compact memory every ## seconds:
  96.    FreeMem will tell Windows to compact memory every ## seconds.
  97.    This is useful when you wish to see how much memory a particular
  98.    application requires.  Check the amount of memory displayed before
  99.    and after an application is run to see how much memory it consumes.
  100.    When Windows compacts memory, is frees up blocks of memory no longer
  101.    being used by an application.  These blocks are kept in memory for
  102.    performance reasons, so the Compact option may decrease your
  103.    system performance.  Some users have reported better system
  104.    performance with the Compact option enabled.
  105.  
  106. Invert Window:
  107.    Choose Invert Window to display white text on a black background.
  108.    This looks good with screen savers or a black desktop background.
  109.  
  110. Stay in front:
  111.    Select this option if you want FreeMem to always be visible and in
  112.    front of any other application.
  113.  
  114.  
  115.                                  **
  116.  
  117.                           Application notes
  118.  
  119. - If EMS is detected the amount free is displayed along with
  120.   conventional memory free.  A plus sign separates conventional from
  121.   expanded, with expanded on the right.  Note, Windows does not
  122.   recognize expanded memory in Enhanced mode, so this value will never
  123.   be displayed.
  124. - FreeMem will keep itself on top of other windows so that it is always
  125.   visible.  (Unless the Stay in front option is deselected.)
  126. - With the left mouse button, click and drag FreeMem to move it to the
  127.   desired location on your screen.  This position will be stored
  128.   in the current FREEMEM.INI for subsequent startups. (The default startup
  129.   position is the upper left corner of your screen.)
  130. - Add FreeMem to the LOAD or RUN line of your WIN.INI.
  131. - As a Windows applications developer I have found FreeMem to be a
  132.   useful tool for detecting memory managment problems within applications.
  133.   Since FREEMEM remains visible, tracking memory usage is simplified.
  134. - As a Windows user, I am concerned about the amount of memory that some
  135.   applications use under Windows.  Now that Windows 3.0 has opened
  136.   up the amount of memory available, it seems that some applications
  137.   are taking free reign with their memory usage.  So, guess what?  It
  138.   won't be long before 4 meg won't be enough memory!  A reasonable amount
  139.   of memory for an average application to use is 10-30K.
  140.  
  141.                                  **
  142.  
  143. -Non-mouse windows users can interact with FreeMem.
  144.    When FreeMem has the input focus the following function keys work:
  145.    (Alt+Tab to shift focus between windows, since FreeMem has no caption
  146.     bar it is difficult to tell if it does have the focus, see the
  147.     Microsoft Windows Users Guide for more info.)
  148.  
  149.    F1     - displays the about box, which contains configuration options.
  150.    ALT+F7 - allows you to move FreeMem with the keyboard arrow keys, press
  151.             enter when done.
  152.    ALT+F4 - closes FreeMem.
  153.  
  154. Mouse users:
  155.    FreeMem can be moved with a click and drag motion.
  156.    The right mouse button clicked on FreeMem will close it.
  157.    A double click on the FreeMem window will display the About box containing
  158.       configuration options.
  159.  
  160. Payment for FreeMem is optional and completely up to you regarding
  161. an amount.
  162.  
  163.                                  **
  164.  
  165.      Information in this document is subject to change without notice
  166. and does not represent any commitment on the part of METZ Software.  No
  167. warranties of any kind are associated with this product.
  168.  
  169.      Your comments and suggestions are always welcome, and help make
  170. this application a better product.
  171.  
  172.      METZ Software currently has several applications available for
  173. Microsoft Windows 2.x and 3.0.  Please contact us at the above location
  174. for more information.
  175.  
  176.                                  **
  177.  
  178.                           Version 4.22
  179.      FreeMem assumed that each resource pool had 64K of memory
  180. available at all times.  This is not necessarily true, so
  181. FreeMem now takes this into consideration when calculating the
  182. percentage of system resources free.
  183.  
  184.                           Version 4.2
  185.      Memory used for system resources often gets fragmented or
  186. broken up into many chunks consisting of occupied space and free
  187. space used for resources.  It was possible that FreeMem 4.1 was
  188. inaccurate if the resource space was heavily fragmented.
  189.      Freemem now displays the percentages of User and Graphics
  190. Device Interface resources free in the configuration dialog.
  191. Double click on FreeMem or press F1 after switching to FreeMem
  192. to access the configuration dialog.
  193.  
  194.